package com.ag.score.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_record")
public class TRecord extends Model<TRecord> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("uid")
    @ApiModelProperty("uid")
    private int uid;
    //`type` int(2) DEFAULT NULL, 1 涨  -1 跌
    @TableField("type")
    @ApiModelProperty("type")
    private int type;
    //`status` int(2) DEFAULT NULL, 0 进行中 1 结束 -1 取消
    @TableField("status")
    @ApiModelProperty("status")
    private int status;
    //`userscore` double(11,2) DEFAULT NULL,
    @TableField("usescore")
    @ApiModelProperty("usescore")
    private double usescore;
    //`resscore` double(11,2) DEFAULT NULL,
    @TableField("resscore")
    @ApiModelProperty("resscore")
    private double resscore;
    //`startdata` double(11,2) DEFAULT NULL,
    @TableField("startdata")
    @ApiModelProperty("startdata")
    private double startdata;
    // `enddata` double(11,2) DEFAULT NULL,
    @TableField("enddata")
    @ApiModelProperty("enddata")
    private double enddata;
    //`minute` int(4) DEFAULT NULL,
    @TableField("minute")
    @ApiModelProperty("minute")
    private int minute;
    //`winlv` double(11,2) DEFAULT NULL,
    @TableField("winlv")
    @ApiModelProperty("winlv")
    private double winlv;
    // `recordtype` varchar(10) DEFAULT NULL,
    @TableField("recordtype")
    @ApiModelProperty("recordtype")
    private String recordtype;

    @TableField("endtime")
    @ApiModelProperty("endtime")
    private String endtime;

    @TableField("cretetime")
    @ApiModelProperty("cretetime")
    private String cretetime;

}
